package com.tpp.threat_perception_platform.service.impl;

import com.tpp.threat_perception_platform.dao.AppVulnerabilityMapper;
import com.tpp.threat_perception_platform.dao.VulnerabilityMapper;
import com.tpp.threat_perception_platform.service.VulService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class VulServiceImpl implements VulService{
    @Autowired
    private VulnerabilityMapper vulnerabilityMapper;
    @Override
    public List<Map<String, Object>> getAllVulnerabilities() {
        return vulnerabilityMapper.findAll();
    }
}
